// 模块
export namespace IBase{

  export interface params {
    month: string
    year: string
  }

  export interface echarts {
    data: any[]
    type: string
    colors: any[]
    lineColor: string
  }

  export interface echartsData {
    [key: any]: echarts
  }
  // 报表基础格式
  export interface bigScreenEcharts {
    data: echartsData
    label: string[]
    name: string[]
    yName: string[]
    yAxisNameFlag: boolean // y轴顶部的单位显示
    yAxisIndexFlag: boolean // 是否显示多y轴
    yAxisMinData: number // y轴线上最小值
    yAxisMaxData: number // y轴线上最大值
    solid: string // 折现是实线还是虚线
  }

  // 请求参数
  export interface Params {
    year: number
    month: number
  }
  // 薪资显示字段
  export interface showDataSalary {
    lastMonthTotalUser: number
    thisMonthTotalUser: number
    thisMonthTotalSalary: number
    lastMonthTotalSalary: number
    lastMonthTotalBG: number,
    thisMonthTotalBG: number,
    peoRate: number,
    salRate: number,
    renRate: number,
    renRateLast: number,
  }
  // 显示产品分类字段
  export interface showDataSales {
    lastMonthTotalUser: number
  }
}
